const a = {
  backgroundColor: 'rgba(0,0,0,0)',
  tooltip: { show: false },
  legend: { show: false },
  visualMap: {
    left: 20,
    bottom: 20,
    pieces: [
      { gte: 1000, label: '1000个以上' },
      { gte: 600, lte: 999, label: '600-999个' },
      { gte: 200, lte: 599, label: '200-599个' },
      { gte: 50, lte: 199, label: '49-199个' },
      { gte: 10, lte: 49, label: '10-49个' },
      { lte: 9, label: '1-9个' },
    ],
    inRange: {
      color: ['#c3d7df', '#5cb3cc', '#8abcd1', '#66a9c9', '#2f90b9', '#1781b5'],
    },
    textStyle: { color: '#fff' },
  },
  geo: {
    map: 'china',
    roam: false,
    selectedMode: false,
    zoom: 1.42,
    top: 140,
    aspectScale: 0.78,
    tooltip: { show: false },
    label: { show: false },
    itemStyle: { areaColor: 'rgba(0,0,0,0)', borderColor: 'rgba(0,0,0,0)' },
    emphasis: { disabled: true },
  },
  series: [
    {
      name: 'MAP',
      type: 'map',
      mapType: 'china',
      aspectScale: 0.78,
      data: [
        { name: '山西省', value: 561 },
        { name: '重庆', value: 596 },
        { name: '云南省', value: 891 },
        { name: '辽宁省', value: 455 },
        { name: '安徽省', value: 100 },
        { name: '山西省', value: 468 },
        { name: '澳门特别行政区', value: 534 },
        { name: '香港特别行政区', value: 404 },
      ],
      selectedMode: false,
      zoom: 1.42,
      geoIndex: 1,
      top: 140,
      tooltip: {
        show: true,
        backgroundColor: 'rgba(0,0,0,.6)',
        borderColor: 'rgba(147, 235, 248, .8)',
        textStyle: { color: '#FFF' },
      },
      label: {
        show: false,
        color: '#000',
        rich: {},
        emphasis: { show: false },
      },
      itemStyle: {
        borderColor: 'rgba(147, 235, 248, .8)',
        borderWidth: 1,
        areaColor: {
          type: 'radial',
          x: 0.5,
          y: 0.5,
          r: 0.8,
          colorStops: [
            { offset: 0, color: 'rgba(147, 235, 248, 0)' },
            { offset: 1, color: 'rgba(147, 235, 248, .2)' },
          ],
          globalCoord: false,
        },
        shadowColor: 'rgba(128, 217, 248, .3)',
        shadowOffsetX: -2,
        shadowOffsetY: 2,
        shadowBlur: 10,
        emphasis: { areaColor: '#389BB7', borderWidth: 1 },
      },
    },
    {
      data: [
        { name: '山西省', value: [112.304436, 37.618179, 561] },
        { name: '云南省', value: [101.485106, 25.008643, 891] },
        { name: '辽宁省', value: [122.604994, 41.299712, 455] },
        { name: '安徽省', value: [117.226884, 31.849254, 100] },
        { name: '山西省', value: [112.304436, 37.618179, 468] },
        { name: '澳门特别行政区', value: [113.566988, 22.159307, 534] },
        { name: '香港特别行政区', value: [114.134357, 22.377366, 404] },
      ],
      type: 'effectScatter',
      coordinateSystem: 'geo',
      legendHoverLink: true,
      showEffectOn: 'render',
      rippleEffect: {
        scale: 6,
        color: 'rgba(255,255,255, 1)',
        brushType: 'fill',
      },
      tooltip: {
        show: true,
        backgroundColor: 'rgba(0,0,0,.6)',
        borderColor: 'rgba(147, 235, 248, .8)',
        textStyle: { color: '#FFF' },
      },
      label: {
        fontSize: 11,
        offset: [0, 2],
        position: 'bottom',
        textBorderColor: '#fff',
        textShadowColor: '#000',
        textShadowBlur: 10,
        textBorderWidth: 0,
        color: '#FFF',
        show: true,
      },
      itemStyle: {
        color: 'rgba(255,255,255,1)',
        borderColor: 'rgba(2255,255,255,2)',
        borderWidth: 4,
        shadowColor: '#000',
        shadowBlur: 10,
      },
    },
  ],
}
